package com.outfood.domain;

/**
 * @Author huisonglin
 * @Description
 * @PackageName outfood-platform
 * @Package com.outfood.domain
 * @Date 2024-03-25 16:58
 * @Version 1.0
 */

import lombok.Data;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @description user_store_relation
 * @author BEJSON
 * @date 2024-03-25
 */
@Data
@Table(name = "user_store_relation")
public class UserStoreRelation implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    @KeySql(useGeneratedKeys = true)
    /**
     * 主键ID
     */
    private Long id;

    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 店铺ID
     */
    private Long storeId;

    /**
     * create_user
     */
    private String createUser;

    /**
     * create_date
     */
    private Date createDate;

    /**
     * modify_user
     */
    private String modifyUser;

    /**
     * modify_date
     */
    private Date modifyDate;

    /**
     * state
     */
    private String state;

    public UserStoreRelation() {}
}
